package com.onesports.intelligent.k12.polarlight.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.onesports.intelligent.k12.polarlight.domain.entity.sys.Dict;
import com.onesports.intelligent.k12.polarlight.domain.vo.sys.SysDictVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 字典表 Mapper 接口
 * </p>
 *
 * @author generator
 * @since 2021-09-30
 */
@Mapper
public interface DictMapper extends BaseMapper<Dict> {

    List<SysDictVO> getSysDictByGroupNo(@Param("group") List<String> group);

    List<Dict> getDictByMultipleGroupNo(@Param("groupList") List<String> groupList);


    SysDictVO findDictById(@Param("id") String id);


    List<Dict> findDictByPid(@Param("pid") String pid);
}
